package com.henghai.zhenxuan.data.api;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

public class UnsubscribeApi implements IRequestApi, IRequestType {
    private String status;

    @NonNull
    @Override
    public String getApi() {
        return "/system/user/unsubscribe";
    }

    public UnsubscribeApi(String status) {
        this.status = status;
    }

    @NonNull
    @Override
    public BodyType getBodyType() {
        return BodyType.JSON;
    }
}
